package com.supermap.data.modal;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * 报告期类型
 * TUser entity. @sun'f
 */
@Entity
@Table(name = "T_REPORT")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class TReport {


    /**
     * 主键
     */
    private String id;

    /**
     * 报告期类型
     */
    private int report_type;
    /**
     * 报告期名称
     */
    private String report_name;
    /**
     * 报告期代码
     */
    private String report_code;

    public TReport() {
    }

    public TReport(String id, int report_type, String report_name, String report_code) {
        this.id = id;
        this.report_type = report_type;
        this.report_name = report_name;
        this.report_code = report_code;
    }

    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid")
    @Column(name = "ID")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "REPORT_TYPE")
    public int getReport_type() {
        return report_type;
    }

    public void setReport_type(int report_type) {
        this.report_type = report_type;
    }

    @Column(name = "REPORT_NAME")
    public String getReport_name() {
        return report_name;
    }

    public void setReport_name(String report_name) {
        this.report_name = report_name;
    }

    @Column(name = "REPORT_CODE")
    public String getReport_code() {
        return report_code;
    }

    public void setReport_code(String report_code) {
        this.report_code = report_code;
    }
}
